package com.jinzhi.common.vo;

import javax.validation.constraints.NotNull;

/**
 * 微信模板推送
 */
public class TemplateVo {

	@NotNull(message = "appId不能为空")
	private String appId;	//appid

	@NotNull(message = "form_id不能为空")
	private String form_id;	//微信小程序form_id

	@NotNull(message = "openId不能为空")
	private String openId;	//openId

	@NotNull(message = "type不能为空")
	private String type;	//模板类型(目前只有订单支付完成模板)


	private String templatId;	//微信模板id


	private String order_id;	//（可传可不传）根据模板对象id判断

	private String appSecret;	//appSecret



	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getForm_id() {
		return form_id;
	}

	public void setForm_id(String form_id) {
		this.form_id = form_id;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getOrder_id() {
		return order_id;
	}

	public void setOrder_id(String order_id) {
		this.order_id = order_id;
	}

	public String getAppSecret() {
		return appSecret;
	}

	public void setAppSecret(String appSecret) {
		this.appSecret = appSecret;
	}

	public String getTemplatId() {
		return templatId;
	}

	public void setTemplatId(String templatId) {
		this.templatId = templatId;
	}
}
